package com.itheima.homework6;

import java.util.Random;
import java.util.TreeSet;

public class DoubleBall {
    public static void main(String[] args) {
        TreeSet<Integer> ts = new TreeSet<>();
        Random r = new Random();
        for (int i = 0; i < 6; i++) {
            int s = r.nextInt(33)+1;
            ts.add(s);
        }
        int b = r.nextInt(16)+1;
        ts.add(b);
        for (Integer t : ts) {
            System.out.println(t);
        }
    }
}
